import { request } from '../../services/request';

// 获取应用菜单接口
export const getAppMenuApi = async () => {
    const res = await request('/app/appMenu/getAppMenu', {
        method: 'POST',
        body: JSON.stringify({}),
    });
    console.log('getAppMenu接口返回:', res);
    return res;
};

// 退出登录接口
export const logoutApi = async () => {
    const res = await request('/app/auth/logout', {
        method: 'POST',
    });
    // console.log('退出登录接口返回:', res);
    return res;
}; 